package org.gw.ylc.base.data;

public class PropertyAccess {
	private String name;
	private String defaultValueExpr;
	private String availableExpr;
	private boolean readable;
	private boolean writable;

	public PropertyAccess(String name, String defaultValueExpr, String availableExpr, boolean readable,
			boolean writable) {
		super();
		this.name = name;
		this.defaultValueExpr = defaultValueExpr;
		this.availableExpr = availableExpr;
		this.readable = readable;
		this.writable = writable;
	}

	public PropertyAccess() {
		super();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDefaultValueExpr() {
		return defaultValueExpr;
	}

	public void setDefaultValueExpr(String defaultValueExpr) {
		this.defaultValueExpr = defaultValueExpr;
	}

	public String getAvailableExpr() {
		return availableExpr;
	}

	public void setAvailableExpr(String availableExpr) {
		this.availableExpr = availableExpr;
	}

	public boolean isReadable() {
		return readable;
	}

	public void setReadable(boolean readable) {
		this.readable = readable;
	}

	public boolean isWritable() {
		return writable;
	}

	public void setWritable(boolean writable) {
		this.writable = writable;
	}

}
